
import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/lisence/list`,
    method: 'post',
    data: query
  });
}

export function saveData(form) {
  return request({
    url: '/lisence/add_lisence',
    method: 'post',
    data: form
  });
}

export function updateData(form) {
  return request({
    url: '/lisence/save_lisence',
    method: 'post',
    data: form
  });
}

export function deleteData(query) {
  return request({
    url: '/lisence/del_lisence',
    method: 'post',
    data: query
  });
}

export function operateList() {
  return request({
    url: '/lisence/operate_list',
    method: 'post',
  });
}

export function suspendData(query) {
  return request({
    url: '/lisence/suspend',
    method: 'post',
    data: query
  });
}

export function openData(query) {
  return request({
    url: '/lisence/open_lisence',
    method: 'post',
    data: query
  });
}

export function tagList(query) {
  return request({
    url: '/lisence/lisence_tag_list',
    method: 'post',
    data: query
  });
}

export function addTypeTag(query) {
  return request({
    url: '/lisence/add_type_tag',
    method: 'post',
    data: query
  });
}

export function addTag(query) {
  return request({
    url: '/lisence/add_tag',
    method: 'post',
    data: query
  });
}

export function saveTypeTag(query) {
  return request({
    url: '/lisence/save_type_tag',
    method: 'post',
    data: query
  });
}

export function saveTag(query) {
  return request({
    url: '/lisence/save_tag',
    method: 'post',
    data: query
  });
}

export function delTag(query) {
  return request({
    url: '/lisence/del_tag',
    method: 'post',
    data: query
  });
}

export function operateTagList(query) {
  return request({
    url: '/lisence/operate_tag_list',
    method: 'post',
    data: query
  });
}

